<!doctype html>
<html>
<head>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
    if (eventSender) {
        eventSender.mouseMoveTo(790, 40);
        eventSender.mouseDown();
        eventSender.mouseMoveTo(790, 40);
        eventSender.mouseMoveTo(790, 120);
        eventSender.mouseUp();
    }
}
</script>

</head>
<body style="-webkit-writing-mode:vertical-rl" onload="runRepaintAndPixelTest()">
<span>Testing both hit testing</span> and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
</body>
